package com.cqnu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cqnu.dao.PaperLogDao;
import com.cqnu.entity.PaperLog;
import com.cqnu.service.IPaperLogService;

@Service("paperLogService")
public class PaperLogServiceImpl extends BaseServiceImpl implements IPaperLogService {
	@Resource
	private PaperLogDao paperLogDao;

	@Override
	public List<PaperLog> find(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return paperLogDao.find(map);
	}

	@Override
	public Long getTotal(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return paperLogDao.getTotal(map);
	}

	@Override
	public int update(PaperLog obj) {
		// TODO Auto-generated method stub
		return paperLogDao.update(obj);
	}

	@Override
	public int add(PaperLog obj) {
		// TODO Auto-generated method stub
		return paperLogDao.add(obj);
	}

	@Override
	public int delete(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public PaperLog getById(Integer id) {
		// TODO Auto-generated method stub
		return paperLogDao.getById(id);
	}

	@Override
	public List<PaperLog> getPaperLogByTeaId(Map<String, Object> map) {
		return extraDAO.getPaperLogByTeaId(map);
	}

	 

	 

}
